package com.hg.design.creation.factory.biancheng.ex2;

public class CattleFarm implements AnimalFarm {
    public Animal newAnimal() {
        System.out.println("新牛出生！");
        return new Cattle();
    }
}
